From: kfraser@localhost.localdomain Date: Mon, 6 Nov 2006 09:02:15 +0000 (+0000) Subject: [LINUX] Don't use uint64_t parameter to gnttab_set_{,un}map_op() when X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=adf74ce75297682e17cd0b22d2cd0e7551b99e90;p=xen.git [LINUX] Don't use uint64_t parameter to gnttab_set_{,un}map_op() when the upper 32 bits will never be used (i.e., i386 non-pae). Signed-off-by: Jan Beulich --- diff --git a/linux-2.6-xen-sparse/include/xen/gnttab.h b/linux-2.6-xen-sparse/include/xen/gnttab.h index c710140ee7..3f64565804 100644 --- a/linux-2.6-xen-sparse/include/xen/gnttab.h +++ b/linux-2.6-xen-sparse/include/xen/gnttab.h @@ -38,6 +38,7 @@ #define __ASM_GNTTAB_H__ #include +#include #include #include #include @@ -118,7 +119,7 @@ int gnttab_suspend(void); int gnttab_resume(void); static inline void -gnttab_set_map_op(struct gnttab_map_grant_ref *map, uint64_t addr, +gnttab_set_map_op(struct gnttab_map_grant_ref *map, maddr_t addr, uint32_t flags, grant_ref_t ref, domid_t domid) { if (flags & GNTMAP_contains_pte) @@ -134,7 +135,7 @@ gnttab_set_map_op(struct gnttab_map_grant_ref *map, uint64_t addr, } static inline void -gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, uint64_t addr, +gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, maddr_t addr, uint32_t flags, grant_handle_t handle) { if (flags & GNTMAP_contains_pte)